"""
Zen Coding settings
@author Sergey Chikuyonok (serge.che@gmail.com)
@link http://chikuyonok.ru
"""
zen_settings = {
            
#	Variables that can be placed inside snippets or abbreviations as ${variable}
#	${child} variable is reserved, don't use it
    'variables': {
        'lang': 'en',
        'locale': 'en-US',
        'charset': 'UTF-8',
        'profile': 'xhtml',
        
#		Inner element indentation
        'indentation': '\t',
        
        # newline variables, useful for wrapping
        'newline': '\n',
        'nl': '\n'
    },
    
    # common settings are used for quick injection of user-defined snippets
    'common': {
        
    },
    
    'css': {
        'extends': 'common',
        'filters': 'html,css',
        'snippets': {
            "reset+":
            "body,div,h1,h2,h3,h4,h5,h6,hr,p,blockquote,dl,dt,dd,ul,ol,li,pre,form,fieldset,legend,button,input,textarea,th,td{margin:0;padding:0;text-align:left;}\n" +
            "body,button,input,select,textarea{font:12px/16px Arial,Helvetica,sans-serif;}\n" +
            "h1,h2,h3,h4,h5,h6{font-size:100%;}\n" +
            "address,cite,dfn,var,em{font-style:normal;}em{font-weight:700;}\n" +
            "code,kbd,pre,samp{font-family:courier new,courier,monospace;}\n" +
            "ul,ol{list-style:none;}\n" +
            "sup{vertical-align:text-top;}\n" +
            "sub{vertical-align:text-bottom;}\n" +
            "legend{color:#000;}\n" +
            "fieldset,img{border:0;}\n" +
            "button,input,select,textarea{font-size:100%;}\n" +
            "table{border-collapse:collapse;border-spacing:0;}\n" +
            "article,aside,details,figcaption,figure,footer,header,hgroup,menu,nav,section,summary,time,mark,audio,video {display:block;margin:0;padding:0;}\n" +
            "mark{background:#ff0;}\n" +
            "q:before,q:after{content:'';}\n" +
            ".clearfix:before, .clearfix:after {content:"";display:table;}\n" +
            ".clearfix:after {clear:both;}\n" +
            ".clearfix{zoom:1;}\n" +
            "a:link{color:#3592B5;text-decoration:none;}\n" +
            "a:visited{color:#3592B5;text-decoration:none;}\n" +
            "a:hover{color:#3592B5;text-decoration:underline;} \n" +
            'a:active{color:#3592B5;text-decoration:underline;}',
            "@i": "@import url(|);",
            "@m": "@media print {\n\t|\n}",
            "@f": "@font-face {\n\tfont-family:|;\n\tsrc:url(|);\n}",
            "!": "!important",
            "pos+": "position:static relative absolute fixed;",
            "pos": "position:static;",
            "poa": "position:absolute;",
            "por": "position:relative;",
            "pof": "position:fixed;",
            "t": "top:|;",
            "t:a": "top:auto;",
            "r": "right:|;",
            "r:a": "right:auto;",
            "b": "bottom:|;",
            "b:a": "bottom:auto;",
            "bradius": "border-radius:5px;",
            "bshadow": "box-shadow:0 0 6px #E0E6E9;",
            "tshadow": "text-shadow:0 1px 0 #FFFFFF;",
            "l": "left:|;",
            "l:a": "left:auto;",
            "zi": "z-index:|;",
            "z:a": "z-index:auto;",
            "fl": "float:|;",
            "fn": "float:none;",
            "fl": "float:left;",
            "fr": "float:right;",
            "cl": "clear:|;",
            "cl:n": "clear:none;",
            "cl:l": "clear:left;",
            "cl:r": "clear:right;",
            "cl:b": "clear:both;",
            "dn": "display:none;",
            "db": "display:block;",
            "di": "display:inline;",
            "dib": "display:inline-block;",
            "v": "visibility:|;",
            "vv": "visibility:visible;",
            "vh": "visibility:hidden;",
            "v:c": "visibility:collapse;",
            "ov": "overflow:|;",
            "ov": "overflow:visible;",
            "oh": "overflow:hidden;",
            "os": "overflow:scroll;",
            "os": "overflow:scroll;",
            "ovx": "overflow-x:|;",
            "ovy": "overflow-y:|;",
            "zoo": "zoom:1;",
            "cp": "clip:|;",
            "cp:a": "clip:auto;",
            "cp:r": "clip:rect(|);",
            "bxz": "box-sizing:|;",
            "ma": "margin:0 auto;",
            "m0": "margin:0;",
            "m2": "margin:0 0;",
            "m3": "margin:0 0 0;",
            "m4": "margin:0 0 0 0;",
            "mt": "margin-top:|;",
            "mr": "margin-right:|;",
            "mb": "margin-bottom:|;",
            "ml": "margin-left:|;",
            "p": "padding:|;",
            "p0": "padding:0;",
            "p2": "padding:0 0;",
            "p3": "padding:0 0 0;",
            "p4": "padding:0 0 0 0;",
            "pt": "padding-top:|;",
            "pr": "padding-right:|;",
            "pb": "padding-bottom:|;",
            "pl": "padding-left:|;",
            "w": "width:|px;",
            "h": "height:|px;",
            "maw": "max-width:|;",
            "maw:n": "max-width:none;",
            "mah": "max-height:|;",
            "mah:n": "max-height:none;",
            "miw": "min-width:|;",
            "mih": "min-height:|;",
            "on": "outline:none;",
            "bor": "border:1px solid #000;",
            "borc": "border-color:#000;",
            "bg": "background:url(../images/no.png) no-repeat 0 0;",
            "bgc": "background-color:#FFF;",
            "bgi": "background-image:url(../images/no.png);",
            "bgr": "background-repeat:repeat|;",
            "bgp": "background-position:0 0;",
            "bgred": "background-color:red;",
            "c": "color:|;",
            "list": "list-style:disc square circle decimal;",
            "vt": "vertical-align:top;",
            "vm": "vertical-align:middle;",
            "vb": "vertical-align:bottom;",
            "tl": "text-align:left;",
            "tc": "text-align:center;",
            "tr": "text-align:right;",
            "tn": "text-decoration:none;",
            "tu": "text-decoration:underline;",
            "to": "text-decoration:overline;",
            "tlt": "text-decoration:line-through;",
            "ti": "text-indent:12|px;",
            "ti-": "text-indent:-9999px;",
            "lh": "line-height:|;",
            "ws": "white-space:nowrap; |",
            "wb": "word-break:|;",
            "ls": "letter-spacing:|;",
            "f": "font:|;",
            "f+": "font:12px/16px Arial,Helvetica,sans-serif;",
            "fw": "font-weight:700; |",
            "fwn": "font-weight:400;",
            "fwb": "font-weight:700;",
            "fs": "font-style:normal;",
            "fi": "font-style:italic;",
            "fz": "font-size:11px|;",
            "ff": "font-family:|;",
            "fst": "font-stretch:|;",
            "op": "opacity:0.5; filter:Alpha(Opacity=50);",
            "cur+": "cursor:default move crosshair pointer;",
            "cd": "cursor:default;",
            "cm": "cursor:move;",
            "cp": "cursor:pointer;",
            "z": ".|{} ",
            "ct": "cursor:text;",
            "webkitfontsize":"-webkit-text-size-adjust:none;"
        }
    },
    
    'html': {
        'extends': 'common',
        'filters': 'html',
        'snippets': {
            'idw':'<div id="w" style="height:20px; background:#999; color:#FFF">w</div>',
            'idww':'<div id="ww" style="position:fixed;left:1px;bottom:1px;padding:10px;background:#272822;color:#F00;font-size:20px;">ww</div>',
            'space': '&nbsp;',
            'copyright':'&copy;',
            'jsv':'javascript:void(0)',
            'js':'javascript:void(0)',
            'lt':'&lt;',
            'prev':'&lt;',
            'gt':'&gt;',
            'next':'&gt;',
            'c':'class="|"',
            'tb':'target="_blank" |',
            'ie6': '<!--[if lte IE 6]>\n\t${child}|\n<![endif]-->',
            'ie': '<!--[if IE]>\n\t${child}|\n<![endif]-->',
            'noie': '<!--[if !IE]><!-->\n\t${child}|\n<!--<![endif]-->',
            'html5': '<!doctype html>\n' +
                      '<html>\n' +
                      '<head>\n' +
                      '<meta charset="utf-8" />\n' +
                      '<title>HTML_DEMO</title>\n' +
                      '</head>\n' +
                      '<body>\n\t${child}|\n</body>\n' +
                      '</html>',
            'select':'<select name="province" class="">\n' +
                     '  <option value="bj">BeiJing</option>\n' +
                     '  <option value="sh" selected="selected">ShangHai</option>\n' +
                     '</select>',
            'checkbox':'<label><input value="" type="checkbox" name="hobby">Movie</label>\n' +
                       '<label><input checked="checked" value="" type="checkbox" name="hobby">Muisc</label>',
            'radio':'<label><input value="boy" type="radio" name="gender">Boy</label>\n' +
                    '<label><input checked="checked" value="girl" type="radio" name="gender">Girl</label>',
            'table':'<table cellspacing="0" cellpadding="0">\n' +
                    '   <colgroup>\n' +
                    '       <col width="25%" />\n' +
                    '       <col width="25%" />\n' +
                    '       <col width="25%" />\n' +
                    '       <col />\n' +
                    '       </colgroup>\n' +
                    '   <tbody>\n' +
                    '       <tr>\n' +
                    '           <td>1111</td>\n' +
                    '           <td>222</td>\n' +
                    '           <td>3333</td>\n' +
                    '           <td>4444</td>\n' +
                    '       </tr>\n' +
                    '   </tbody>\n' +
                    '</table>'
        },
        
        'abbreviations': {
            'a': '<a href="#">|</a>',
            'a:mail': '<a href="mailto:|"></a>',
            'abbr': '<abbr title=""></abbr>',
            'acronym': '<acronym title=""></acronym>',
            'base': '<base href="" />',
            'link:css': '<link rel="stylesheet" href="${1:style}.css" />',
            'link:rss': '<link rel="alternate" type="application/rss+xml" title="RSS" href="|rss.xml" />',
            'meta:compat': '<meta http-equiv="X-UA-Compatible" content="IE=7" />',
            'style': '<style>|</style>',
            'script': '<script>|</script>',
            'link:js': '<script src="|"></script>',
            'link:jq': '<script src="http://ajax.googleapis.com/ajax/libs/jquery/1.8.0/jquery.min.js"></script>',
            'script:src': '<script src="|"></script>',
            'img': '<img src="" alt="" />',
            'iframe': '<iframe src="|" width="800" height="100" name="" scrolling="auto" frameborder="0" allowtransparency="true"></iframe>',
            'embed': '<embed src="" type="" />',
            'object': '<object data="" type=""></object>',
            'param': '<param name="" value="" />',
            'map': '<map name=""></map>',
            'area': '<area shape="" coords="" href="" alt="" />',
            'area:d': '<area shape="default" href="" alt="" />',
            'area:c': '<area shape="circle" coords="" href="" alt="" />',
            'area:r': '<area shape="rect" coords="" href="" alt="" />',
            'area:p': '<area shape="poly" coords="" href="" alt="" />',
            'link': '<link rel="stylesheet" href="" />',
            'form': '<form action="demo.jsp" method="post">',
            'formget': '<form action="" method="get">',
            'label': '<label for="">',
            'inhidd': '<input type="hidden" name="" />',
            'intxt': '<input type="text" name="" class="" />',
            'insearch': '<input type="search" name="" class="" />',
            'inpwd': '<input type="password" name="" />',
            'incheckbox': '<input type="checkbox" name="" />',
            'inradio': '<input type="radio" name="" />',
            'infile': '<input type="file" name="" id="" />',
            'insub': '<input type="submit" value="" />',
            'insubmit': '<input type="submit" value="" />',
            'inreset': '<input type="reset" value="" />',
            'inbtn': '<input type="button" value="" />',
            'inbtn-': '<input type="button" value="" disabled="disabled" />',
            'option': '<option selected="selected" value="sh">shanghai</option>',
            'txtarea': '<textarea name="" class="" cols="30" rows="10">',
            'textarea': '<textarea name="" class="" cols="30" rows="10">',
            'video': '<video src=""></video>',
            'audio': '<audio src=""></audio>',
            'html:xml': '<html xmlns="http://www.w3.org/1999/xhtml"></html>',
            'bq': '<blockquote></blockquote>',
            'acr': '<acronym></acronym>',
            'fig': '<figure></figure>',
            'ifr': '<iframe></iframe>',
            'emb': '<embed></embed>',
            'obj': '<object></object>',
            'src': '<source></source>',
            'cap': '<caption></caption>',
            'colg': '<colgroup></colgroup>',
            'fst': '<fieldset></fieldset>',
            'btn': '<button></button>',
            'optg': '<optgroup></optgroup>',
            'opt': '<option></option>',
            'tarea': '<textarea></textarea>',
            'leg': '<legend></legend>',
            'sect': '<section></section>',
            'art': '<article></article>',
            'hdr': '<header></header>',
            'ftr': '<footer></footer>',
            'adr': '<address></address>',
            'dlg': '<dialog></dialog>',
            'str': '<strong></strong>',
            'prog': '<progress></progress>',
            'fset': '<fieldset></fieldset>',
            'datag': '<datagrid></datagrid>',
            'datal': '<datalist></datalist>',
            'kg': '<keygen></keygen>',
            'out': '<output></output>',
            'det': '<details></details>',
            'cmd': '<command></command>',
            
#           expandos
            'ol+': 'ol>li',
            'ul+': 'ul>li',
            'dl+': 'dl>dt+dd',
            'map+': 'map>area',
            'table+': 'table>tr>td',
            'colgroup+': 'colgroup>col',
            'colg+': 'colgroup>col',
            'tr+': 'tr>td',
            'select+': 'select>option',
            'optgroup+': 'optgroup>option',
            'optg+': 'optgroup>option'

        },
        
        'element_types': {
            'empty': 'area,base,basefont,br,col,frame,hr,img,input,isindex,link,meta,param,embed,keygen,command',
            'block_level': 'address,applet,blockquote,button,center,dd,del,dir,div,dl,dt,fieldset,form,frameset,hr,iframe,ins,isindex,li,link,map,menu,noframes,noscript,object,ol,p,pre,script,table,tbody,td,tfoot,th,thead,tr,ul,h1,h2,h3,h4,h5,h6',
            'inline_level': 'a,abbr,acronym,applet,b,basefont,bdo,big,br,button,cite,code,del,dfn,em,font,i,iframe,img,input,ins,kbd,label,map,object,q,s,samp,script,select,small,span,strike,strong,sub,sup,textarea,tt,u,var'
        }
    },
    
    'xml': {
        'extends': 'html',
        'filters': 'html'
    },
    
    'xsl': {
        'extends': 'common,html',
        'filters': 'html, xsl',
        'abbreviations': {
            'tm': '<xsl:template match="" mode=""></xsl:template>',
            'tmatch': 'tm',
            'tn': '<xsl:template name=""></xsl:template>',
            'tname': 'tn',
            'xsl:when': '<xsl:when test=""></xsl:when>',
            'wh': 'xsl:when',
            'var': '<xsl:variable name="">|</xsl:variable>',
            'vare': '<xsl:variable name="" select=""/>',
            'if': '<xsl:if test=""></xsl:if>',
            'call': '<xsl:call-template name=""/>',
            'attr': '<xsl:attribute name=""></xsl:attribute>',
            'wp': '<xsl:with-param name="" select=""/>',
            'par': '<xsl:param name="" select=""/>',
            'val': '<xsl:value-of select=""/>',
            'co': '<xsl:copy-of select=""/>',
            'each': '<xsl:for-each select=""></xsl:for-each>',
            'ap': '<xsl:apply-templates select="" mode=""/>',
            
#           expandos
            'choose+': 'xsl:choose>xsl:when+xsl:otherwise'
        }
    },
    
    'haml': {
        'filters': 'haml',
        'extends': 'html'
    }
}